package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.bean.interfaces.DiscussAble;
import com.sk.bilibili.bean.interfaces.ForwardAble;
import com.sk.bilibili.bean.interfaces.PraiseAble;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
* @author 邵康
* @date 2021/11/24 19:32
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Forward implements ForwardAble, DiscussAble, PraiseAble {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("0视频VideoSet   1番剧Them   2图片文档动态Note  转发动态被转发转发的是原内容 该内容不要随意变更 与 Dynamic一致")
    private Integer type;
    private Integer targetId;
    private Integer memberId;
    private String content;
    @TableField(fill = FieldFill.INSERT)
    private Long createDate;
    private Integer forwardNum;
    private Integer discussNum;
    private Integer praiseNum;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
